package edu.yctc.delivery.entity;

import java.time.LocalDateTime;

/**
 * DeliveryPointDO实体类
 * 
 * @author 渠立庆
 */
public class DeliveryPointDO {

    /** 主键 */
    private long id;
    /** 地点名 */
    private String name;
    /** 具体位置 */
    private String position;
    /** 卸货时间限制 */
    private int unloadTimeLimit;
    /** 创建时间 */
    private LocalDateTime createTime;
    /** 修改时间 */
    private LocalDateTime modifyTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getUnloadTimeLimit() {
        return unloadTimeLimit;
    }

    public void setUnloadTimeLimit(int unloadTimeLimit) {
        this.unloadTimeLimit = unloadTimeLimit;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("DeliveryPointDO [id=");
        builder.append(id);
        builder.append(", name=");
        builder.append(name);
        builder.append(", position=");
        builder.append(position);
        builder.append(", unloadTimeLimit=");
        builder.append(unloadTimeLimit);
        builder.append(", createTime=");
        builder.append(createTime);
        builder.append(", modifyTime=");
        builder.append(modifyTime);
        builder.append("]");
        return builder.toString();
    }

}
